package com.nowcoder.community.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@EnableScheduling
//如果不加EnableScheduling，则表明定时任务没有开启

@EnableAsync//使AlphaService中的@Async注解生效
public class ThreadPoolConfig {
}

